package com.tutorial.dao.impl;

import com.tutorial.dao.UserDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * 注解实现交互层接口
 *
 * @ClassName UserDaoImpl_annotation
 * @Description 注解实现交互层接口
 * @Author G
 * @Date 2025/3/4 16:16
 */
@Repository(value = "userDaoImplAnnotation")
public class UserDaoImpl_annotation implements UserDao {
    @Value(value = "${jdbc.url}")
    private String url;
    @Override
    public void save() {
        System.out.println("UserDaoImpl_annotation running");
    }
}
